<div class="p00150">
    <button *ngIf="step === 2" nz-button nzType="default" (click)="back()"><i nz-icon nzType="rollback"></i>返回</button>
    <button *ngIf="step === 2" nz-button nzType="default" (click)="editModalShow()"><i nz-icon
            nzType="edit"></i>修改</button>
    <button *ngIf="step === 1" nz-button nzType="default" (click)="delModalShow()"><i nz-icon
            nzType="delete"></i>删除</button>
</div>

<app-reportformtable #tcp [headData]="headData" [plainData]="plainData" [tableStep]="step" (clickRow)="detail($event)">
</app-reportformtable>

<app-operamodal *ngIf="editModalVisible" [popTitle]="'修改速报表'" [operaType]="'edit'" [apiUrl]="apiUrl.edit"
    [responseData]="tempData" (closeModal)="editModalHide()" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="delModalVisible" [popTitle]="'删除速报表'" [operaType]="'del'" [apiUrl]="apiUrl.del"
    [responseData]="tempData" (closeModal)="delModalHide()" (reloadData)="loadList()">
</app-operamodal>